{extend name="base/base-goods-layout"/}
{block name="breadcrumb"}
<a>商家管理中心</a>
<a>商品</a>
<a>在售商品管理</a>
{/block}
{block name="main"}
<div class="search-wrap">
    <form action="" class="layui-form">
        <ul>
            <li>
                <div class="layui-form-item">
                    <label class="layui-form-label">商品名称：</label>
                    <div class="layui-input-block">
                        <input type="text" name="goodsname" required  lay-verify="required" placeholder="请输入商品名称" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </li>
            <li>
                <div class="layui-form-item">
                    <label class="layui-form-label">平台货号：</label>
                    <div class="layui-input-block">
                        <input type="text" name="goodsno" required  lay-verify="required" placeholder="请输入收货人姓名" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </li>
            <li class="date">
                <div class="layui-form-item">
                    <label class="layui-form-label">发布时间：</label>
                    <div class="layui-inline">
                        <input type="text" name="issuedate1" class="layui-input date-item" placeholder="yyyy-MM-dd">
                    </div>
                    <span style="margin-right: 10px;">-</span>
                    <div class="layui-inline">
                        <input type="text" name="issuedate2" class="layui-input date-item" placeholder="yyyy-MM-dd">
                    </div>
                    <div class="layui-inline">
                        <a href="">近7天</a>
                        <a href="">近30天</a>
                        <a href="">清除</a>
                    </div>
                </div>
            </li>
        </ul>
        <div class="layui-btn-container">
            <button class="layui-btn layui-bg-red" lay-submit><i class="layui-icon">&#xe615;</i>查询</button>
        </div>
    </form>
</div>
<div class="goodlist">
    <div class="menu-bar">
        <ul>
            <li class="active"><a href="">出售中的商品</a></li>
            <li><a href="">导出在售商品报表</a></li>
            <li><a href="">导出心愿单报表</a></li>
            <li><a href="">导出到货订阅报表</a></li>
        </ul>
        <a class="layui-btn" href="{:think\\Url::build('issue')}"><i class="iconfont icon-tianjia1"></i>发布新商品</a>
    </div>
    <div class="table-wrap">
        <form class="layui-form" lay-verType="alert" id="form" method="post">
            <table class="table-list-style" width="100%" cellspacing="0" cellpadding="0">
                <tbody>
                <tr>
                    <th class="tl">
                        <label class="checkbox"><input lay-filter="checkall" lay-ignore="" class="checkall" type="checkbox"></label>商品名称
                    </th>
                    <th width="80">价格</th>
                    <th width="80">库存</th>
                    <th width="80">发布时间</th>
                    <th width="120">操作</th>
                </tr>

                <tr>
                    <td class="tl th" colspan="99">
                        <label class="checkbox">
                            <input lay-ignore="" class="checkitem" name="chk[]" value="331" type="checkbox">
                        </label>
                        <span>平台货号：15161762888</span>
                        <a target="_blank"
                           href="seller.php?m=stat&amp;s=flow&amp;op=goods&amp;goods_id=331">流量</a>
                        <a target="_blank"
                           href="seller.php?m=stat&amp;s=sales&amp;op=goods&amp;goods_id=331">销量</a>
                    </td>
                </tr>
                <tr>
                    <td class="tl">
                        <dl class="fn-clear">
                            <dt>
                                <i date-type="ajax_goods_list" data-id="331"
                                   class="iconfont icon-haibijiahao"></i>
                                <a href="index.php?m=goods&amp;s=detail&amp;id=505" target="_blank">
                                    <img src="http://www.jiushouguoji.hk/uploadfile/goods/8/2016/07/13/1468399658.jpg_60X60.jpg">
                                </a>
                            </dt>
                            <dd>
                                <h3>
                                    <a href="index.php?m=goods&amp;s=detail&amp;id=505" target="_blank">【两罐装】保税区发货
                                        港版美赞臣 Meadjohson 4段奶粉 900g （3-6岁宝宝）</a>
                                </h3>
                                <p>母婴商品 -&gt; 奶粉品牌 -&gt; 美赞臣 Meadjohson</p>
                            </dd>
                        </dl>
                    </td>
                    <td>309.00 元</td>
                    <td>20 件</td>
                    <td>2018-01-17</td>
                    <td>
                        <span class="edit">
                            <a href="{:think\\Url::build('waitsell','op=edit')}"><i
                                    class="iconfont icon-bianji"></i>编辑</a>
                        </span>
                        <span class="del">
                             <a lay-submit data-param="{'id':'331','m':'goods','s':'online'}" href="javascript:void(0)"><i class="iconfont icon-shanchu"></i>删除</a>
                         </span>
                    </td>
                </tr>
                <tr>
                    <td class="tl th" colspan="99">
                        <label class="checkbox">
                            <input lay-ignore="" class="checkitem" name="chk[]" value="331" type="checkbox">
                        </label>
                        <span>平台货号：15161762888</span>
                        <a target="_blank"
                           href="seller.php?m=stat&amp;s=flow&amp;op=goods&amp;goods_id=331">流量</a>
                        <a target="_blank"
                           href="seller.php?m=stat&amp;s=sales&amp;op=goods&amp;goods_id=331">销量</a>
                    </td>
                </tr>
                <tr>
                    <td class="tl">
                        <dl class="fn-clear">
                            <dt>
                                <i date-type="ajax_goods_list" data-id="331"
                                   class="iconfont icon-haibijiahao"></i>
                                <a href="index.php?m=goods&amp;s=detail&amp;id=505" target="_blank">
                                    <img src="http://www.jiushouguoji.hk/uploadfile/goods/8/2016/07/13/1468399658.jpg_60X60.jpg">
                                </a>
                            </dt>
                            <dd>
                                <h3>
                                    <a href="index.php?m=goods&amp;s=detail&amp;id=505" target="_blank">【两罐装】保税区发货
                                        港版美赞臣 Meadjohson 4段奶粉 900g （3-6岁宝宝）</a>
                                </h3>
                                <p>母婴商品 -&gt; 奶粉品牌 -&gt; 美赞臣 Meadjohson</p>
                            </dd>
                        </dl>
                    </td>
                    <td>309.00 元</td>
                    <td>20 件</td>
                    <td>2018-01-17</td>
                    <td>
                        <span class="edit">
                            <a href="{:think\\Url::build('waitsell','op=edit')}"><i
                                    class="iconfont icon-bianji"></i>编辑</a>
                        </span>
                        <span class="del">
                             <a lay-submit data-param="{'id':'331','m':'goods','s':'online'}" href="javascript:void(0)"><i class="iconfont icon-shanchu"></i>删除</a>
                         </span>
                    </td>
                </tr>
                <tr>
                    <td class="tl th" colspan="99">
                        <label class="checkbox">
                            <input lay-ignore="" class="checkitem" name="chk[]" value="331" type="checkbox">
                        </label>
                        <span>平台货号：15161762888</span>
                        <a target="_blank"
                           href="seller.php?m=stat&amp;s=flow&amp;op=goods&amp;goods_id=331">流量</a>
                        <a target="_blank"
                           href="seller.php?m=stat&amp;s=sales&amp;op=goods&amp;goods_id=331">销量</a>
                    </td>
                </tr>
                <tr>
                    <td class="tl">
                        <dl class="fn-clear">
                            <dt>
                                <i date-type="ajax_goods_list" data-id="331"
                                   class="iconfont icon-haibijiahao"></i>
                                <a href="index.php?m=goods&amp;s=detail&amp;id=505" target="_blank">
                                    <img src="http://www.jiushouguoji.hk/uploadfile/goods/8/2016/07/13/1468399658.jpg_60X60.jpg">
                                </a>
                            </dt>
                            <dd>
                                <h3>
                                    <a href="index.php?m=goods&amp;s=detail&amp;id=505" target="_blank">【两罐装】保税区发货
                                        港版美赞臣 Meadjohson 4段奶粉 900g （3-6岁宝宝）</a>
                                </h3>
                                <p>母婴商品 -&gt; 奶粉品牌 -&gt; 美赞臣 Meadjohson</p>
                            </dd>
                        </dl>
                    </td>
                    <td>309.00 元</td>
                    <td>20 件</td>
                    <td>2018-01-17</td>
                    <td>
                        <span class="edit">
                            <a href="{:think\\Url::build('waitsell','op=edit')}"><i
                                    class="iconfont icon-bianji"></i>编辑</a>
                        </span>
                        <span class="del">
                             <a lay-submit data-param="{'id':'331','m':'goods','s':'online'}" href="javascript:void(0)"><i class="iconfont icon-shanchu"></i>删除</a>
                         </span>
                    </td>
                </tr>

                <tr>
                    <td class="toolBar" colspan="1">
                        <input name="act" value="del" type="hidden">
                        <label class="checkbox"><input lay-ignore="" lay-filter="checkall" class="checkall" type="checkbox">全选</label>
                        <span>|</span>
                        <label lay-submit class="del"><i class="iconfont icon-shanchu"></i>删除</label>
                        <span>|</span>
                        <label lay-submit class="down"><i class="iconfont icon-xiajia"></i>下架</label>
                    </td>
                    <td colspan="99">
                        <div class="page">
                            <b>1</b>
                            <a href="?firstRow=10&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">2</a>
                            <a href="?firstRow=20&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">3</a>
                            <a href="?firstRow=30&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">4</a>
                            <a href="?firstRow=40&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">5</a>
                            <a href="?firstRow=50&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">6</a>
                            <a href="?firstRow=60&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">7</a>
                            <a href="?firstRow=70&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">8</a>
                            <a href="?firstRow=80&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">9</a>
                            <a href="?firstRow=90&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">10</a>
                            <a href="?firstRow=210&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">..22</a>
                            <a class="nextPage"
                               href="?firstRow=10&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">下一页</a>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </form>
    </div>
</div>
{/block}
{block name="botScript"}
<script type="text/html" id="big-img">
    <tr class="tr-goods-list">
        <td colspan="5" class="tl">
            <ul class="fn-clear">
                <li>
                    <div class="goods-image">
                        <a herf="index.php?m=goods&amp;s=detail&amp;id=505" target="_blank">
                            <img src="http://www.jiushouguoji.hk/uploadfile/goods/8/2016/07/13/1468399679.jpg_100X100.jpg"
                                 width="100">
                        </a>
                    </div>
                    <div class="goods-price">价格：<span>309.00 元</span></div>
                    <div class="goods-stock">库存：<span>20 件</span></div>
                    <a href="index.php?m=goods&amp;s=detail&amp;id=505" target="_blank">查看商品详情</a>
                </li>
            </ul>
        </td>
    </tr>
</script>
{/block}